package com.yfp.operation.quartz;

import com.yfp.operation.service.MachineWarnEndTimingService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import jakarta.annotation.Resource;

/**
 * 定时记录设备网络报警信息
 * 
 * @version 1.0
 * @date 2024-05-17 11:05
 */
@Component
@Slf4j
public class MachineWarnEndTiming {

    @Resource
    private MachineWarnEndTimingService machineWarnEndTimingService;

//    @Scheduled(cron = "0/10 * * * * ? ")
    public void netWarnEndTiming(){
        log.info("执行定时任务");
        machineWarnEndTimingService.netWarnEndTiming();
    }


}
